﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dictionary_edit.aspx.cs" Inherits="EDP.Application.Web.Dictionary.dictionary_edit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager" AutoSizePanelID="from" runat="server" />
        <f:SimpleForm ID="from" runat="server" ShowBorder="false" ShowHeader="false" BodyPadding="10"
            AutoScroll="false" EnableCollapse="false" Margin="0" LabelWidth="60" Layout="Column">
            <Items>
                <f:TextBox ID="tb_name" runat="server" Label="字典名称" BindName="Name" Margin="0" ColumnWidth="50%" ShowRedStar="true" />
                <f:TextBox ID="tb_numbers" runat="server" Label="字典编号" BindName="Numbers" Margin="0 0 0 10" ColumnWidth="50%" EmptyText="1-20个字母或数字" ShowRedStar="true" />
                <f:DropDownList ID="ddl_classify" runat="server" Label="所属分类" BindName="ClassifyId" EnableSimulateTree="true" EmptyText="选择字典分类" Margin="10 0 0 0" ColumnWidth="50%" ShowRedStar="true" />
                <f:NumberBox ID="tb_sort" runat="server" Label="排序号" BindName="SortNumber" Margin="10 0 0 10" ColumnWidth="50%"
                    NoDecimal="true" NoNegative="true" MinValue="0" MaxValue="9999" MaxLength="4" ShowRedStar="true" Required="true" />
                <f:TextBox ID="tb_createUser" runat="server" Label="创建人" BindName="CreateUserName" Margin="10 0 0 0" ColumnWidth="50%" Readonly="true" />
                <f:TextBox ID="tb_craeteTime" runat="server" Label="创建时间" BindName="CreateTimeDisplay" Margin="10 0 0 10" ColumnWidth="50%" Readonly="true" />
                <f:TextBox ID="tb_modifyUser" runat="server" Label="修改人" BindName="ModifyUserName" Margin="10 0 0 0" ColumnWidth="50%" Readonly="true" />
                <f:TextBox ID="tb_modifyTime" runat="server" Label="修改时间" BindName="ModifyTimeDisplay" Margin="10 0 0 10" ColumnWidth="50%" Readonly="true" />
                <f:TextArea ID="tb_remark" runat="server" Label="描述" BindName="Remarks" Margin="10 0 0 0" ColumnWidth="100%" Height="115" />
            </Items>
            <Toolbars>
                <f:Toolbar runat="server" Position="Bottom" ToolbarAlign="Right">
                    <Items>
                        <f:Button ID="btn_save" runat="server" Text=" 保 存 " Icon="Disk" Margin="0 10 0 0" OnClick="btn_save_Click" />
                        <f:Button ID="btn_close" runat="server" Text=" 关 闭 " Icon="Cross" Margin="0 10 0 0" EnablePostBack="false" />
                    </Items>
                </f:Toolbar>
            </Toolbars>
        </f:SimpleForm>
    </form>
</body>
</html>
